﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Agency
{
    /// <summary>
    /// Service description for plug-in services.
    /// </summary>
    [Serializable]
    public class PluginServiceAttribute : Attribute
    {
        /// <value>
        /// The name of the service.
        /// </value>
        public string ServiceName { get; set; }
        
        /// <value>
        /// The service description.
        /// </value>
        public string ServiceDescription { get; set; }

        /// <summary>
        /// Initializes a new instance of the <see cref="PluginServiceAttribute"/> class.
        /// </summary>
        /// <param name="name">The name.</param>
        /// <param name="description">The description.</param>
        public PluginServiceAttribute(string name, string description)
        {
            ServiceName = name;
            ServiceDescription = description;
        }
    }
}
